﻿namespace LeisureNcre.Common
{
    public class BaseResult
    {

        public int Code { get; set; }
        public string Msg { get; set; }
        public object Data { get; set; }

        public static BaseResult FailConnect()
        {
            BaseResult result = new BaseResult
            {
                Code = -1,
                Msg = "网络连接失败，请检查网络"
            };
            return result;
        }
    }
}
